﻿#ifndef XPUSHBUTTONFOURARITHMETIC_P_H
#define XPUSHBUTTONFOURARITHMETIC_P_H

#include "xpushbuttonfourarithmetic.h"

QT_BEGIN_NAMESPACE

class XPushButtonFourArithmeticPrivate
{
public:
    XPushButtonFourArithmeticPrivate();
    ~XPushButtonFourArithmeticPrivate();

    /* Object Property */
    XRegister *resultRegister;
    FourArithmeticType arithmeticType;

    NumberType leftOperandNumberType;
    NumberType rightOperandNumberType;
    XRegister *leftOperandRegister;
    XRegister *rightOperandRegister;
    double leftOperandConstant;
    double rightOperandConstant;

    bool upperLimitEnable;
    bool lowerLimitEnable;
    NumberType upperLimitType;
    NumberType lowerLimitType;
    XRegister *upperLimitRegister;
    XRegister *lowerLimitRegister;
    int upperLimitConstant;
    int lowerLimitConstant;
};

QT_END_NAMESPACE

#endif // XPUSHBUTTONFOURARITHMETIC_P_H
